package com.fernfx.xingtan.main.entity;

import com.fernfx.xingtan.common.base.BaseEntity;

import java.util.List;

/**
 * Created by admin on 2018/8/22.
 */

public class RobredPacketHistroyEntity extends BaseEntity {

    /**
     * obj : {"totalSize":2,"pageSize":20,"totalPages":1,"pageNo":1,"records":[{"id":2,"amount":10,"date":"2018-08-14 12:18:41","status":1},{"id":1,"amount":100,"date":"2018-08-10 14:48:46","status":1}]}
     */

    private ObjBean obj;

    public ObjBean getObj() {
        return obj;
    }

    public void setObj(ObjBean obj) {
        this.obj = obj;
    }

    public static class ObjBean {
        /**
         * totalSize : 2
         * pageSize : 20
         * totalPages : 1
         * pageNo : 1
         * records : [{"id":2,"amount":10,"date":"2018-08-14 12:18:41","status":1},{"id":1,"amount":100,"date":"2018-08-10 14:48:46","status":1}]
         */

        private int totalSize;
        private int pageSize;
        private int totalPages;
        private int pageNo;
        private List<RecordsBean> records;

        public int getTotalSize() {
            return totalSize;
        }

        public void setTotalSize(int totalSize) {
            this.totalSize = totalSize;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public static class RecordsBean {
            /**
             * id : 2
             * amount : 10
             * date : 2018-08-14 12:18:41
             * status : 1
             */

            private int id;
            private int amount;
            private String date;
            private String status;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getAmount() {
                return amount;
            }

            public void setAmount(int amount) {
                this.amount = amount;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }
    }
}
